//
//  MWebView.m
//  Mapper
//
//  Created by Steven Troughton-Smith on 03/03/2008.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import "MWebView.h"
#import "NSMultitouch.h"

@implementation MWebView

- (void)magnifyWithEvent:(NSEvent *)event
{

if ([event magnification]> 0)
[[self windowScriptObject] callWebScriptMethod:@"zoomIn" withArguments:nil];
	else
[[self windowScriptObject] callWebScriptMethod:@"zoomOut" withArguments:nil];



}


@end
